import axios from '@/axios/index'
export const getSearchHot = () => {
    return axios({
        url: '/search/hot',
        method: 'get'
    })
}
export const getSearchKeywords = (keywords) => {
    return axios({
        url: '/search?keywords=' + keywords,
        method: 'get'
    })
}

export const getSearchSuggest = (keywords) => {
    return axios({
        url: '/search/suggest?type=mobile&keywords=' + keywords,
        method: 'get'
    })
}
